package com.springboot.idempotence.redis;

import com.springboot.idempotence.redis.exception.TokenException;

import javax.servlet.http.HttpServletRequest;

/**
 * @description: token服务接口
 * @auther: bald ass
 * @date: 2020/5/28 9:18
 */
public interface TokenService {
    String createToken();

    boolean checkToken(HttpServletRequest request) throws TokenException;
}
